//
//  WJTjTableViewCell.m
//  WJBSApp
//
//  Created by dllo on 16/7/14.
//  Copyright © 2016年 王景伟. All rights reserved.
//

#import "WJTjTableViewCell.h"

@interface WJTjTableViewCell ()

@property (nonatomic,retain) UILabel *belowLable;

@end

@implementation WJTjTableViewCell
-(void)dealloc
{
    [_nameLable release];
    [_redLable release];
    [_belowLable release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.nameLable = [[WJBaseLable alloc]init];
        self.nameLable.textAlignment = 1;
        [self.contentView addSubview:self.nameLable];
        [_nameLable release];
        
        self.redLable = [[UILabel alloc]init];
        self.redLable.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:self.redLable];
        [_redLable release];
        self.redLable.hidden = YES;
        
        self.belowLable = [[UILabel alloc]init];
        self.belowLable.backgroundColor = [UIColor grayColor];
        [self.contentView addSubview:self.belowLable];
        [_belowLable release];
        
    }
    return self;
}


- (void)layoutSubviews
{
    [super layoutSubviews];
    self.nameLable.frame = CGRectMake(0, 0, WIDTH / 7, 49);
    self.redLable.frame = CGRectMake(0, 3, 2, 44);
    self.belowLable.frame = CGRectMake(0, 49, WIDTH / 7, 1);
}















@end
